// samsting : this file is auto create.

#include "Ons/2015-10-20/OnsPublishCreateRequest.h"

namespace aliyun { namespace Ons {

OnsPublishCreateRequest::OnsPublishCreateRequest() : RpcAcsRequest("Ons", "2015-10-20", "OnsPublishCreate") {
}

const string& OnsPublishCreateRequest::GetOnsRegionId(void) const {
  return OnsRegionId_;
}
void OnsPublishCreateRequest::SetOnsRegionId(const string& OnsRegionId) {
  OnsRegionId_ = OnsRegionId;
  PutQueryParameter("OnsRegionId", OnsRegionId_);
}

const string& OnsPublishCreateRequest::GetOnsPlatform(void) const {
  return OnsPlatform_;
}
void OnsPublishCreateRequest::SetOnsPlatform(const string& OnsPlatform) {
  OnsPlatform_ = OnsPlatform;
  PutQueryParameter("OnsPlatform", OnsPlatform_);
}

int64 OnsPublishCreateRequest::GetPreventCache(void) const {
  return PreventCache_;
}
void OnsPublishCreateRequest::SetPreventCache(int64 PreventCache) {
  PreventCache_ = PreventCache;
  PutQueryParameter("PreventCache", string_ValueOfInt64(PreventCache_));
}

const string& OnsPublishCreateRequest::GetProducerId(void) const {
  return ProducerId_;
}
void OnsPublishCreateRequest::SetProducerId(const string& ProducerId) {
  ProducerId_ = ProducerId;
  PutQueryParameter("ProducerId", ProducerId_);
}

const string& OnsPublishCreateRequest::GetTopic(void) const {
  return Topic_;
}
void OnsPublishCreateRequest::SetTopic(const string& Topic) {
  Topic_ = Topic;
  PutQueryParameter("Topic", Topic_);
}

const string& OnsPublishCreateRequest::GetAppName(void) const {
  return AppName_;
}
void OnsPublishCreateRequest::SetAppName(const string& AppName) {
  AppName_ = AppName;
  PutQueryParameter("AppName", AppName_);
}


} } // namespace aliyun { namespace Ons {

// end of file 
